import unittest
from HTMLTestRunner import HTMLTestRunner

test=unittest.defaultTestLoader.discover(r'/第七天', pattern="testCalc.py")
runner=HTMLTestRunner.HTMLTestRunner(
    stream=open(file='../第七天/calc.html', mode='w+', encoding='utf-8'),
    title='计算器测试',#标题
    verbosity=2,#详细程度
    description='计算两位数之间加减乘除的运算'
)
runner.run(test)